<%@ page language="java" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<!-- begin #header -->
<!-- top navbar-->
<header class="topnavbar-wrapper">
<script>
function toMenus(menuCode){
	$.ajax({
		type : 'get',dataType : 'json',
		url : ctx + "/sys/role/userMenu.do",
		contentType : 'charset=utf-8',
		data : {
			"menuCode" : menuCode
		},
		success : function(msg) {
			var data = msg.count;
			if(data>0){
				 document.location.href = "${ctx}/sysConfig/main.do";
			}else{ //没权限
				noty({text: '您没权限访问该菜单！',type: "information",dismissQueue: true,layout: 'topRight',theme: 'defaultTheme',timeout:3000});
			}
		}
	});
}
</script>
    <%--<nav class="navbar navbar-default">--%>
        <%--<div class="container-fluid">--%>
            <%--<!-- Brand and toggle get grouped for better mobile display -->--%>
            <%--<div class="navbar-header">--%>
                <%--<button type="button" class="navbar-toggle collapsed" data-toggle="collapse"--%>
                        <%--data-target="#bs-example-navbar-collapse-1" aria-expanded="false">--%>
                    <%--<span class="sr-only">Toggle navigation</span>--%>
                    <%--<span class="icon-bar"></span>--%>
                    <%--<span class="icon-bar"></span>--%>
                    <%--<span class="icon-bar"></span>--%>
                <%--</button>--%>
                <%--<a class="navbar-brand" href="#">Brand</a>--%>
            <%--</div>--%>
        <%--</div>--%>
    <%--</nav>--%>
    <nav role="navigation" class="navbar topnavbar navbar-default">

        <!-- START navbar header-->
        <%--<div class="navbar-header">--%>
            <%--<a href="#/" class="navbar-brand">--%>
                <%--<div>--%>
                    <%--<img src="${ctx}/assets/img/logo-single.png" alt="南京地税">--%>
                <%--</div>--%>
                <%--&lt;%&ndash;<div class="brand-logo-collapsed">&ndash;%&gt;--%>
                <%--&lt;%&ndash;<img src="${ctx}/assets/img/logo-single.png" alt="南京地税">&ndash;%&gt;--%>
                <%--&lt;%&ndash;</div>&ndash;%&gt;--%>
            <%--</a>--%>
        <%--</div>--%>
        <!-- END navbar header-->
        <!-- START Nav wrapper-->
        <div class="nav-wrapper">
            <!-- START Left navbar-->
            <%--<ul class="nav navbar-nav">--%>
            <%--<li>--%>
            <%--<!-- Button used to collapse the left sidebar. Only visible on tablet and desktops-->--%>
            <%--<a href="#" data-toggle-state="aside-collapsed" class="hidden-xs">--%>
            <%--<em class="fa fa-navicon"></em>--%>
            <%--</a>--%>
            <%--<!-- Button to show/hide the sidebar on mobile. Visible on mobile only.-->--%>
            <%--<a href="#" data-toggle-state="aside-toggled" data-no-persist="true" class="visible-xs sidebar-toggle">--%>
            <%--<em class="fa fa-navicon"></em>--%>
            <%--</a>--%>
            <%--</li>--%>


            <%--</ul>--%>
            <ul class="nav navbar-nav">
                <li><a href= "${ctx}/home/main.do" style="font-weight: bold;font-size: 20px;">腾冲旅游信息数据统计</a></li>
            </ul>


            <ul class="nav navbar-nav navbar-right">
                <li class="visible-lg">
                    <a href="#" data-toggle-fullscreen="">
                        <em class="fa fa-expand"></em>
                    </a>
                </li>
                <li>
                    <a href="#" data-toggle-state="offsidebar-open" data-no-persist="true">
                        <em class="icon-notebook"></em>
                    </a>
                </li>
                <li class="visible-lg visible-md">
                    <a href="${ctx}/login/logout.do" title="退出">
                        <em class="fa fa-power-off"></em>
                    </a>
                </li>

            </ul>
            <!-- END Right Navbar-->
        </div>
        <!-- END Nav wrapper-->

    </nav>
    <!-- START Top Navbar-->

    <!-- END Top Navbar-->
  
</header>